package io.renren.modules.news_data.service.impl;



import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.news_data.dao.V9NewsDataDao;
import io.renren.modules.news_data.entity.V9NewsDataEntity;
import io.renren.modules.news_data.service.V9NewsDataService;


@Service("v9NewsDataService")
public class V9NewsDataServiceImpl extends ServiceImpl<V9NewsDataDao, V9NewsDataEntity> implements V9NewsDataService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<V9NewsDataEntity> page = this.page(
                new Query<V9NewsDataEntity>().getPage(params),
                new QueryWrapper<V9NewsDataEntity>()
        );

        return new PageUtils(page);
    }

}